package org.dromara.school.service;

import org.dromara.school.domain.Classes;
import org.dromara.school.domain.vo.ClassesVo;
import org.dromara.school.domain.bo.ClassesBo;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.school.domain.bo.SchoolClassesTreeNodeBo;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 班级管理Service接口
 *
 * @author Gjb
 * @date 2025-05-29
 */
public interface IClassesService   {

    /**
     * 查询班级管理
     */
    ClassesVo queryById(Long id);

    /**
     * 查询班级管理列表
     */
    TableDataInfo<ClassesVo> queryPageList(ClassesBo bo, PageQuery pageQuery);

    /**
     * 查询班级管理列表
     */
    List<ClassesVo> queryList(ClassesBo bo);

    /**
     * 新增班级管理
     */
    Boolean insertByBo(ClassesBo bo);

    /**
     * 修改班级管理
     */
    Boolean updateByBo(ClassesBo bo);

    /**
     * 校验并批量删除班级管理信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    List<ClassesVo> getSchoolClasses(Long schoolCampusId);

    Map<Integer, String> getSchoolGrades(Long schoolCampusId);

     List<Object> findbyTeacherId(Long userId);

     Classes findClassesList(Classes classes);

    Map<String, Integer> getSchoolClassesName(Long schoolCampusId);

    List<SchoolClassesTreeNodeBo> getSchoolClassesTreeNode();
}
